package com.hubt.mapper;


import com.hubt.model.PtMenuDirectory;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


public interface PtMenuDirectoryMapper {
  
    int deleteByPrimaryKey(String menuId);

    int insert(PtMenuDirectory record);

    int insertSelective(PtMenuDirectory record);

   

    PtMenuDirectory selectByPrimaryKey(String menuId);

  

    int updateByPrimaryKeySelective(PtMenuDirectory record);

    int updateByPrimaryKey(PtMenuDirectory record);
    
   List<PtMenuDirectory>  findbyParentId(String parentId);
    
    int countSize();
	 List<PtMenuDirectory> findAllByPage(@Param("pageNumber") int pageNumber,@Param("pageSize") int pageSize);
	 
	 List<PtMenuDirectory> getResources(@Param("id") String id);
}